package mybatis;

import orm.Teacher;

import java.util.List;

/**
 * Created by lenovo on 2017/7/19.
 */
public interface TeacherDao {

    Teacher getTeacherByUId(int userId);

    Teacher getTeacherByTId(int teacherId);

    List<String> getTeachRooms() ;

    void addTeacher(Teacher teacher);

    void updateTeachRoom(Teacher teacher);
}
